var myvariable : TGuid
procedure ScriptEvent (var Value : variant)
var myvariable : TGuid
begin
myvariable :=NewGuid;
loginfo('the value of myvariable is '+GuidToString(myvariable));
end
Guid is used to represent globally unique values. A Guid is a string of numbers separated with hypens. An example Guid is {F5078F18-C551-11D3-89B9-0000F81FE221}.
Fields cannot be defined as Guid. Instead they will show up as String types.